package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务人员设备
 * Created by KGL on 2015/12/4.
 */
@Data
@Table(tableName = "employee_device")
public class EmployeeDeviceEntity extends MagicDBEntity<EmployeeDeviceEntity> implements Serializable {

    private static final long serialVersionUID = -3461039015712806238L;
    @PrimaryKey
    private long id;
    @Column
    private long employeeId;
    @Column
    private long device;
    @Column
    private int type;
    @Column
    private int state;
    @Column
    private Date createTime;
}
